package com.aiwiown.face;

/**
 * @ClassName : BootDefaultApiClient
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-10-04 09:20
 */
public class BootDefaultApiClient extends DefaultApiClient {

    public BootDefaultApiClient() {
        super(FaceApiProperties.getFaceApiProperties().getServerUrl(),
                FaceApiProperties.getFaceApiProperties().getAppId(),
                FaceApiProperties.getFaceApiProperties().getAppSecret(),
                FaceApiProperties.getFaceApiProperties().getCharset().getCode());
        this.setConnectTimeOut(FaceApiProperties.getFaceApiProperties().getConnectTimeOut());
        this.setReadOutTime(FaceApiProperties.getFaceApiProperties().getReadOutTime());
        this.setFormat(FaceApiProperties.getFaceApiProperties().getFormat().getCode());
    }

}
